package test.guice.demo;

import com.google.inject.Binder;
import com.google.inject.Module;
import test.guice.service.IHelloGuiceService;
import test.guice.service.impl.HelloGuiceServiceImpl;

/**
 * @author yachao.guo
 * @date 2019-06-05 16:17
 */
public class HelloModule implements Module {

    @Override
    public void configure(Binder binder) {
        binder.bind(IHelloGuiceService.class).to(HelloGuiceServiceImpl.class);
    }
}
